package com.example.entity.retail;

import java.util.Set;

public class CommentRetail {
    private String commentUid;//评论uid
    private String content;//评论内容
    private String commentImage;//评论图片
    private String commentUser;//评论的作者
    private String commentUserAvatar;//评论的作者头像
    private String postItem;//评论所属帖子uid
    private String commentTime;//评论时间
    //private CommentRetail replyTo;//回复对象
    //private Set<CommentRetail> replies;//评论的所有子评论
    //private Set<LikeRetail> likes; //评论点赞
    private String replyToUid;//回复评论Uid

    @Override
    public String toString() {
        return "CommentRetail{" +
                "commentUid='" + commentUid + '\'' +
                ", content='" + content + '\'' +
                ", commentImage='" + commentImage + '\'' +
                ", commentUser='" + commentUser + '\'' +
                ", commentUserAvatar='" + commentUserAvatar + '\'' +
                ", postItem='" + postItem + '\'' +
                ", commentTime='" + commentTime + '\'' +
                ", replyToUid='" + replyToUid + '\'' +
                '}';
    }

    public String getCommentUid() {
        return commentUid;
    }

    public void setCommentUid(String commentUid) {
        this.commentUid = commentUid;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getCommentImage() {
        return commentImage;
    }

    public void setCommentImage(String commentImage) {
        this.commentImage = commentImage;
    }

    public String getCommentUser() {
        return commentUser;
    }

    public void setCommentUser(String commentUser) {
        this.commentUser = commentUser;
    }

    public String getCommentUserAvatar() {
        return commentUserAvatar;
    }

    public void setCommentUserAvatar(String commentUserAvatar) {
        this.commentUserAvatar = commentUserAvatar;
    }

    public String getPostItem() {
        return postItem;
    }

    public void setPostItem(String postItem) {
        this.postItem = postItem;
    }

    public String getCommentTime() {
        return commentTime;
    }

    public void setCommentTime(String commentTime) {
        this.commentTime = commentTime;
    }

    public String getReplyToUid() {
        return replyToUid;
    }

    public void setReplyToUid(String replyToUid) {
        this.replyToUid = replyToUid;
    }
}
